
var exec = cordova.require("cordova/exec");

module.exports.registerListener = function (success, error) {
	exec(success, error, 'ZltdPDA', 'registerListener', []);
};

module.exports.unregisterListener = function (success, error) {
	exec(success, error, 'ZltdPDA', 'unregisterListener', []);
};

module.exports.connect = function (success, error) {
	exec(success, error, 'ZltdPDA', 'connect', []);
};

module.exports.close = function (success, error) {
	exec(success, error, 'ZltdPDA', 'close', []);
};

module.exports.keyDown = function (success, error) {
	exec(success, error, 'ZltdPDA', 'keyDown', []);
};

module.exports.keyUp = function (success, error) {
	exec(success, error, 'ZltdPDA', 'keyUp', []);
};

